package com.example.day_20.contract;

import com.example.day_20.bean.InFoBean;

public interface HomeContract {
    interface Model {
        void setData(CallBack callBack);
    }

    interface View {
        void onSuccess(InFoBean inFoBean);
        void onFail(String errorMsg);
    }

    interface Presenter {
        void getData();
    }

    interface CallBack {
        void onSuccess(InFoBean inFoBean);
        void onFail(String errorMsg);
    }
}
